package com.upb.webserver.common.pojo.account.manager;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ReqModifyManagerVO {
    @NotNull
    private Integer id;
    @NotBlank
    private String password;
//    @Email
    @Length(max = 50)
    private String email;
    @NotNull
    private Integer roleId;
}
